package web.demo.service;

import java.util.List;

import web.demo.entity.OrderDetail;

public interface IOrderDetailService {

	//添加
	public boolean addOrderDetail(OrderDetail orderDetail);
	//查看
	public List<OrderDetail> getAll();
	//修改
	public void update(OrderDetail orderDetail);
	//删除
	public boolean delete(int id);
	//按照订单查询
	public List<OrderDetail> getOrderDetail(int ordersId);
	
}
